<script lang="ts" setup>
import { useRouter } from "vue-router";
const props = defineProps<{
  navigationName: string;
}>();
const router = useRouter();
function returnPage() {
  //router.go(-1);
  router.back();
}
</script>
<template>
  <div class="navigation-frame">
    <div class="daohng-frame">
      <div class="daohng-content">
        <img class="fanhui" src="@/image/new_img/navv2_icon_back.png" @click="returnPage" />
        <div class="title-frame">{{ props.navigationName }}</div>
        <div class="fanhui"></div>
      </div>
    </div>
  </div>
</template>
<style lang="less" scoped>
.navigation-frame {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;
  .daohng-frame {
    width: 100%;
    background-image: url(../../image/new_img/navv2_navbg.png);
    background-size: 100% 100%;
    object-fit: cover;
    height: 74.919px;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 9999;
    left: 0;
    right: 0;
    top: 0;
    background-color: #0652bc;
  }
  .daohng-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
  }
  .fanhui {
    width: 56.5px;
    height: 56.5px;
    margin-left: 10px;
  }
  .title-frame {
    font-size: 25.452px;
    color: #fff;
    height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "-apple-system, BlinkMa";
  }
}
</style>
